package com.xlcszsgc.module.clob.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @Title: BaseClob.java
 * @Package com.xlcszsgc.module.clob.domain
 * @Description: clob支持
 * @author Zhaoqt  
 * @date 2014-5-23 上午12:24:49
 * @version V1.0
 */
@Entity
@Table(name = "BASE_CLOB")
public class BaseClob implements Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String clobId;
	private String contentClob;
	private String title;
	private String categoryCode;
	private Integer sortNum;
	private Date dateTime;
	private Integer publish;
	
	@Id 
	@Column(name = "CLOB_ID")
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	public String getClobId() {
		return clobId;
	}
	public void setClobId(String clobId) {
		this.clobId = clobId;
	}
	@Column(name = "CLOB_CONTENT")
	public String getContentClob() {
		return contentClob;
	}
	public void setContentClob(String contentClob) {
		this.contentClob = contentClob;
	}
	@Column(name = "TITLE")
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	@Column(name = "CATEGORY_CODE")
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	@Column(name = "SORT_NUM")
	public Integer getSortNum() {
		return sortNum;
	}
	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}
	@Column(name = "DATE_TIME")
	public Date getDateTime() {
		return dateTime;
	}
	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}
	@Column(name = "PUBLISH_STATUS")
	public Integer getPublish() {
		return publish;
	}
	public void setPublish(Integer publish) {
		this.publish = publish;
	}
	
}
